package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合并订单明细对象 t_merge_order_detail
 * 
 * @author ruoyi
 * @date 2024-04-04
 */
public class TMergeOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 系统订单编码 */
    @Excel(name = "系统订单编码")
    private String orderId;

    /** 支付宝合并单号 */
    @Excel(name = "支付宝合并单号")
    private String mergeNo;

    /** 支付宝商户订单号 */
    @Excel(name = "支付宝商户订单号")
    private String outTradeNo;

    /** 归属服务商 */
    @Excel(name = "归属服务商")
    private String isvId;

    /** 二级商户id */
    @Excel(name = "二级商户id")
    private String subMerId;

    /** 支付比例 */
    @Excel(name = "支付比例")
    private Integer payRate;

    /** 二级商户名称 */
    @Excel(name = "二级商户名称")
    private String subMerName;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    /**  */
    @Excel(name = "")
    private Long createUser;

    /**  */
    @Excel(name = "")
    private Long updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setMergeNo(String mergeNo) 
    {
        this.mergeNo = mergeNo;
    }

    public String getMergeNo() 
    {
        return mergeNo;
    }
    public void setOutTradeNo(String outTradeNo) 
    {
        this.outTradeNo = outTradeNo;
    }

    public String getOutTradeNo() 
    {
        return outTradeNo;
    }
    public void setIsvId(String isvId) 
    {
        this.isvId = isvId;
    }

    public String getIsvId() 
    {
        return isvId;
    }
    public void setSubMerId(String subMerId) 
    {
        this.subMerId = subMerId;
    }

    public String getSubMerId() 
    {
        return subMerId;
    }
    public void setPayRate(Integer payRate) 
    {
        this.payRate = payRate;
    }

    public Integer getPayRate() 
    {
        return payRate;
    }
    public void setSubMerName(String subMerName) 
    {
        this.subMerName = subMerName;
    }

    public String getSubMerName() 
    {
        return subMerName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("mergeNo", getMergeNo())
            .append("outTradeNo", getOutTradeNo())
            .append("isvId", getIsvId())
            .append("subMerId", getSubMerId())
            .append("payRate", getPayRate())
            .append("subMerName", getSubMerName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
